<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?>    <!--bottom start-->
    <div class="clear"></div>
    <div id="links" class="mt8">
        <dl>
            <dt>友情链接</dt>
            <dd>
                <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"link\" data=\"op=link&tag_md5=99c32cd273c57223c20074bf5196e97a&action=type_list&siteid=%24siteid&order=listorder+DESC&num=10&return=dat\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">修改</a>";}$link_tag = pc_base::load_app_class("link_tag", "link");if (method_exists($link_tag, 'type_list')) {$dat = $link_tag->type_list(array('siteid'=>$siteid,'order'=>'listorder DESC','limit'=>'10',));}?>
                <?php $n=1;if(is_array($dat)) foreach($dat AS $v) { ?>
                 <a href="<?php echo $v['url'];?>" target="_blank"><?php echo $v['name'];?></a>
                <?php $n++;}unset($n); ?>
                <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
            </dd>
        </dl>
    <div class="clear"></div>
    </div>
    <div id="bottomNav" class="mt8">
        <a href="sitemap.html" title="网站地图">网站地图</a>|
        <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=c664a0d493b898cad41c17fdfc59889e&action=category&catid=21&num=16&siteid=1&order=listorder+ASC\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">修改</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'category')) {$data = $content_tag->category(array('catid'=>'21','siteid'=>'1','order'=>'listorder ASC','limit'=>'16',));}?>
        <?php $count = count($data);?>
        <?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
             <a href="<?php echo $r['url'];?>" title="<?php echo $r['catname'];?>"><?php echo $r['catname'];?></a> |
        <?php $n++;}unset($n); ?>
        <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
        <!-- 此处开始添加百度统计 -->

        <!-- 此处结束添加百度统计 -->
    </div>
    <div id="bottom"><?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"block\" data=\"op=block&tag_md5=80025ab57302c03d41888baefa233747&pos=bottom\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">添加碎片</a>";}$block_tag = pc_base::load_app_class('block_tag', 'block');echo $block_tag->pc_tag(array('pos'=>'bottom',));?><?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
    </div>
</div>
</body>
</html>

